package cn.ljx.mapper;

import cn.ljx.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by dell on 2019/1/3.
 */
public interface UserMapper {
    public List<User> AllWhere(User user);
    //条件查询
    public List<User> whereSelect(@Param("name") int where,@Param("bookName") String like);


    //添加
    public  int  addUser(User user);
    //修改
    public int update(User user,int id);
    //查询id
    public int selectid(String bookName);
}
